<?php

abstract class Controller_Dires_Base extends Kohana_Controller_Template {

	public $template = 'dires/frame';


	public function before() {
		if (Request::current()->is_ajax()) {
			$this->template = 'dires/frame_ajax';
		}
		parent::before();
	}
}
